package com.dream.house.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.com.servyou.base.exception.DAOException;

import com.dream.house.entity.GroupDTO;

/**
 * 部门信息DAO接口
 * @author ahk
 * @since 1.0
 */
@Repository
public interface GroupDAO {
	/**
	 * 
	 * @param groupId
	 * @return
	 * @throws DAOException
	 */
	GroupDTO getGroup(String id) throws DAOException;
	
	String getGroupName(String id) throws DAOException;
	
	List<GroupDTO> getGroups(String userId) throws DAOException;
}
